<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FirstSampleCS.aspx.cs" Inherits="FirstSampleCS" %>


<%@ Register Assembly="Chapter10CustomControlsCS" Namespace="Chapter10CustomControlsCS"
    TagPrefix="cc2" %>

<%@ Register Assembly="Chapter10CustomControlsVB" Namespace="Chapter10CustomControlsVB"
    TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:WebPartManager ID="WebPartManager1" runat="server">
        </asp:WebPartManager>
    
    </div>
        <asp:WebPartZone ID="znConsumer" runat="server" HeaderText="ISBN Consumer" Style="z-index: 100;
            left: 24px; position: absolute; top: 80px">
            <ZoneTemplate>
                <cc1:ConsumerPart ID="ConsumerPart1" runat="server" />
            </ZoneTemplate>
        </asp:WebPartZone>
        <asp:WebPartZone ID="znProvider" runat="server" HeaderText="ISBN Provider" Style="z-index: 101;
            left: 312px; position: absolute; top: 80px">
            <ZoneTemplate>
                <cc1:ProviderPart ID="ProviderPart1" runat="server" BookIdentifier="ISBN Provider: 0130230731" />
            </ZoneTemplate>
        </asp:WebPartZone>
        <asp:WebPartZone ID="SecondPartToConnect" runat="server" HeaderText="SecondPartToConnect"
            Style="z-index: 102; left: 656px; position: absolute; top: 80px">
            <ZoneTemplate>
                <cc1:ProviderPart ID="ProviderPart2" runat="server" />
            </ZoneTemplate>
        </asp:WebPartZone>
        <asp:Button ID="btnConnect" runat="server" Style="z-index: 103; left: 40px; position: absolute;
            top: 208px" Text="Connect" OnClick="btnConnect_Click" />
        <asp:Button ID="btnConnect2" runat="server" Style="z-index: 104; left: 40px; position: absolute;
            top: 240px" Text="Connect 2" OnClick="btnConnect2_Click" />
        <asp:ConnectionsZone ID="ConnectionsZone1" runat="server" Style="z-index: 105; left: 176px;
            position: absolute; top: 216px">
        </asp:ConnectionsZone>
        <asp:Button ID="btnTransient" runat="server" OnClick="btnTransient_Click" Style="z-index: 106;
            left: 40px; position: absolute; top: 272px" Text="Transient" />
        <asp:Button ID="btnBreak" runat="server" OnClick="btnBreak_Click" Style="z-index: 108;
            left: 40px; position: absolute; top: 304px" Text="Break" />
    </form>
</body>
</html>
